package com.linked.pay.coupon.service;

import com.linked.pay.coupon.bean.param.CouponInfoListParam;
import com.linked.pay.coupon.bean.param.UserGetCouponParam;
import com.linked.pay.coupon.bean.po.CouponInfoPO;
import com.linked.pay.coupon.bean.vo.UserCouponListVO;

import java.util.List;

/**
 * @author :dbq
 * @date : 2023/3/6 9:30
 * @description : desc
 */
public interface ICouponHandleService {
    List<UserCouponListVO> queryUserCouponList(CouponInfoListParam param) throws Exception;

    List<CouponInfoPO> queryCouponInfoList() throws Exception;

    boolean addCouponInfo(CouponInfoPO param) throws Exception;

    boolean userGetCoupon(UserGetCouponParam param) throws Exception;

    CouponInfoPO findCouponInfo(String couponId);

    boolean checkUserCoupon(String userId, String couponId);
}
